package com.foton.mybatis.session;

import com.foton.mybatis.configration.Configration;
import com.foton.mybatis.dao.UserDao;

import java.util.List;

/**
 * @Author RenPu
 * @Date 2023/3/29 15:52
 * @Version 1.0
 * @Description:
 **/
public interface SqlSession {

    public <T> T selectOne(String statemetId,Object parameter);

    public <T> List<T> selectList(String statemetId, Object parameter);

    <T> T getMapper(Class<T> type);

    Configration getConfigration();

    void upate(String stamentedId, Object[] args);
}
